// JavaScript Document
function validate(){
	
	var year = document.getElementById('sltYear');
	var month= document.getElementById('sltMonth');
	
	var years = document.getElementById('sltYear').value;
	var months= document.getElementById('sltMonth').value;
	
	if(madeSelection(year, "Select the Year")){
			   if(madeSelection(month, "Select the Month")){
	
	                    var queryString ="?year=" + years +"&month="+months;
	                    
						window.open("../report/whole_income.php"+queryString,'_blank');
	
			         }
			   }
	}